CanvasPropertyOpacity
Type
operator
Summary
The current opacity setting of a canvas.
Syntax
the opacity of <mCanvas>
Description
The opacity of drawing operations on mCanvas, as a number between 0 and 1.
Parameters
Name | Type | Description |
---|---|---|
mCanvas | An expression which evaluates to a canvas. |
Examples
// make subsequent drawing operations render with half transparency
set the opacity of this canvas to 0.5